package gavdi.dk.model;

import java.io.Serializable;
import java.util.Date;
import java.util.GregorianCalendar;

import android.os.Parcel;
import android.os.Parcelable;



public class TimeRegistration extends Event  {
	private Customer customer;


	public TimeRegistration() {
		super();
		
	}

	public TimeRegistration(String id, String date, String hours,
			String status, String comment, String type, String userID, Customer customer) {
		super(id, date, hours, status, comment, type, userID);
		this.customer = customer;
	}
	
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public Customer getCustomer() {
		return customer;
	}
	
	public int compareTo(Event another) {
		return -1;
	}
	@Override
	public String toString(){
		return super.toString() + customer.toString();
	}



	
	

	
}
